from datetime import datetime
from exts import db


class Search(db.Model):
    date_time = db.Column(db.DateTime, default=datetime.now(), primary_key=True)
    search_word = db.Column(db.String(100), nullable=False)
